<?php

class CategoryController extends Controller {

	private $DB;
	public $category;
	public function __Init(){
		$this->DB = new CategoryModel;
		$this->category = $this->DB->GetBigCategory();
		$this->assign('BigCategory',$this->category);
		// p($this->category);
	}

	public function AskList(){
		return $this->DB->AskList();
	}

	public function BigCategory(){
		return $this->DB->GetBigCategory();
	}

	public function MinCategory($cid){
		return $this->DB->GetMinCategory($cid);
	}

	public function getAll(){
		return $this->DB->getAll();
	}

}

?>